DicomObjects.NET.8.48 Documentation
DicomObjects Namespace / DicomImage Class / DicomImage Constructor / DicomImage Constructor(Byte[],ReadBehaviours)

Array of bytes to read

The behaviours to be used when reading this stream







In This Topic
    DicomImage Constructor(Byte[],ReadBehaviours)
    In This Topic
    Reads an array of bytes into a new DicomImage
    Syntax
    'Declaration
     
    
    Public Function New( _
       ByVal Array() As System.Byte, _
       Optional ByVal ReadBehaviour As ReadBehaviours _
    )
    'Usage
     
    
    Dim Array() As System.Byte
    Dim ReadBehaviour As ReadBehaviours
     
    Dim instance As New DicomImage(Array, ReadBehaviour)
    public DicomImage( 
       System.byte[] Array,
       ReadBehaviours ReadBehaviour
    )
    public DicomImage( 
        Array: System.Bytearray of;
        ReadBehaviour: ReadBehaviours
    ); 
    public function DicomImage( 
       Array : System.byte[],
       ReadBehaviour : ReadBehaviours
    );
    public: DicomImage( 
       System.byte[]* Array,
       ReadBehaviours* ReadBehaviour
    )
    public:
    DicomImage( 
       System.array<byte>^ Array,
       ReadBehaviours^ ReadBehaviour
    )

    Parameters

    Array

    Array of bytes to read

    ReadBehaviour

    The behaviours to be used when reading this stream

    Return Value

    Remarks
    A direct constructor of DicomImage. Reads a byte array to create a new DicomImage object.
    Requirements

    Target Platforms: .NET CLR 4.8 or higher

    See Also